package com.cxso.example.domain.wlpt.owner;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Setter
@Getter
@Accessors(chain = true)
@Schema(description = "货主认证信息")
public class ApiOwnerAuthDomain {

    //<editor-fold desc="企业信息">
    @NotBlank(message = "营业执照不能为空")
    @Schema(description = "营业执照")
    private String businessLicense;

    @NotBlank(message = "企业名称不能为空")
    @Schema(description = "企业名称")
    private String enterpriseName;

    @NotBlank(message = "统一社会信用代码不能为空")
    @Schema(description = "统一社会信用代码")
    private String creditCode;

    @Schema(description = "企业类型")
    private String enterpriseType;

    @Schema(description = "注册地址")
    private String enterpriseAddr;

    @Schema(description = "注册资本")
    private String registeredCapital;

    @Schema(description = "营业执照有效期至")
    private String periodValidity;

    @Schema(description = "经营范围")
    private String businessScope;
    //</editor-fold>

    //<editor-fold desc="法人信息">
    @Schema(description = "法人身份证正面")
    private String corporateIdCardFront;

    @Schema(description = "法人身份证反面")
    private String corporateIdCardBack;

    @Schema(description = "法人姓名")
    private String corporateName;

    @Schema(description = "法人身份证号")
    private String corporateIdCardNumber;

    @Schema(description = "法人身份证有效期起")
    private String corporateIdCardValidityBegin;

    @Schema(description = "法人身份证有效期至")
    private String corporateIdCardValidityEnd;
    //</editor-fold>

    //<editor-fold desc="联系人">
    @NotBlank(message = "联系人姓名不能为空")
    @Schema(description = "联系人姓名")
    private String contactName;

    @NotBlank(message = "联系方式不能为空")
    @Schema(description = "联系方式")
    private String contactMobile;

    @Schema(description = "联系人邮箱")
    private String contactEmail;
    //</editor-fold>

}
